<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2023/12/3
  Time: 21:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>审核</title>
    <link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
    <link rel='stylesheet' href='https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css'>
    <link rel="stylesheet" href="static/css/Audit.css">
</head>
<body>
<!-- partial:index.partial.html -->
<div class="container" ng-app="formvalid">
    <div class="panel" data-ng-controller="validationCtrl">
        <div class="panel-heading border">
            <h2>审核界面
            </h2>
        </div>
        <div class="panel-body">
            <table class="table table-bordered bordered table-striped table-condensed datatable" ui-jq="dataTable" ui-options="dataTableOpt">
                <thead>
                <tr>
                    <th>#</th>
                    <th>目标对象id</th>
                    <th>类型（评论/照片/用户禁言）</th>
                    <th>请求来源id</th>
                    <th>举报原因</th>
                    <th>审核意见</th>

                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="n in data">
                    <td>{{$index+1}}</td>
                    <td><a href="">{{n[0]}}</a></td>
                    <td>{{n[1]}}</td>
                    <td>{{n[2]}}</td>
                    <td>{{n[3]}}</td>
                    <td>
                        <label>
                            <input type="radio" ng-model="n.decision" ng-value="'agree'"> 同意
                        </label>
                        <label>
                            <input type="radio" ng-model="n.decision" ng-value="'reject'"> 拒绝
                        </label>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        <button  name ="reback" type="button">返回</button><button  ng-click="submitForm()" type="button">提交</button>
    </div>
</div>
<!-- partial -->
<script src='https://code.jquery.com/jquery-2.2.4.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.5/angular.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/2.0.0/ui-bootstrap-tpls.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular-ui-utils/0.1.1/angular-ui-utils.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/jquery.dataTables.min.js'></script>
<script src='https://cdn.datatables.net/1.10.12/js/dataTables.bootstrap.min.js'></script>
<script  src="static/js/Audit.js"></script>
</body>
</html>
